package com.neusoft.neuiotms.dcvm.service;

import java.util.List;
import java.util.Map;

import com.neusoft.neuiotms.dcvm.bean.MonitorDataBean;

public interface DatabusService {
    MonitorDataBean getMonitorData(String assetCode);

    List<MonitorDataBean> getMonitorDatum(String categoryCode);

    List<MonitorDataBean> getMonitorDatum(String categoryCode, String loacation);

    List<Object> getMenjinRecord(String resourceCode);

    void receiveRedisAlarmMessage(String message);

    /**
     * 实时调用data bus采集
     *
     * @param assetCode
     * @return
     */
    Map<String, Object> fetchMonitorData(String assetCode, Map<String, Object> params);
}
